package com.example.administrator.greendaotestdemo;

import android.app.Application;
import android.content.Context;


public class MdApplication extends Application {
    private static MdApplication mApplication = null;
    public static Context mContext;
    @Override
    public void onCreate() {
        super.onCreate();
        mApplication = this;


        mContext = getApplicationContext();
        GreenDaoHelper.initDatabase();




    }


    public static MdApplication getInstance() {
        return mApplication;
    }


}
